// State.java
interface State {
    void handleChar(StringExtractor extractor, char c);
}